package com.hospital.hospital.service;


import com.hospital.hospital.bean.Department;
import com.hospital.hospital.bean.Doctor;

import java.util.List;

public interface DoctorService {

    List<Doctor> queryAll()throws Exception;

    void deleteByDoctorId(Integer doctorId)throws Exception;

    void insert(Doctor doctor)throws Exception;

    void updateById(Doctor doctor) throws Exception;

    List<Doctor> queryLike(String likename)throws Exception;

    Doctor queryById(Integer doctorId) throws Exception;

    void testPage() throws Exception;


    List<Doctor> queryByPage(Integer page);
}
